package jee.boot.module.oauth2.auth.verification;

/**
 * 账户验证过滤器,
 */
public interface AccountVerificationFilter {
    /**
     * 验证是否通过
     *
     * @param context
     * @return 抛出异常即为不通过,终止后面的验证
     */
    void verification(AccountVerificationContext context) throws AccountVerificationException;
}
